<?php
if(!defined('MY_ROOT'))
{throw new Exception('Access Denied');}
if($_G['uid']<1)
{
header('Location: member.php?mod=login');
}
$smarty=$_G['hwnd']['smarty'];
$cond='`id`='.$_G['uid'];
$result=DB::select('member',$cond,'`id`',true);
$smarty->clearCache('member/info.tpl');
$smarty->assign('username',$result['username']);
$smarty->assign('extra',unserialize($result['extra']));
$smarty->display('member/info.tpl');
?>
